/**
* Clase que asigna notas a unos alumnos mediante un array doble
 **/
package com.ipartek.pruebas.capitulo6;


/**
 * @author practicas9
 * @version 1.0
 * @see mirar las transparencias
 */
public class Array2DP9 {

	/**
	 * @param args array de strings para pasar parametros al metodo
	 */
	public static void main(String[] args) {
		
		String [][] aAlumnos = new String[8][8];
		
		
		aAlumnos [0][0]= "Jose Ramon";
		aAlumnos [0][1]= "Ruben Carlos";
		aAlumnos [0][2]= "David";
		aAlumnos [0][3]= "Fernando";
		aAlumnos [0][4]= "Juan Antonio";
		aAlumnos [0][5]= "Jon Ander";
		aAlumnos [0][6]= "Alexandra";
		aAlumnos [0][7]= "Andoni";
		
		aAlumnos [1][0] = "5.5";
		aAlumnos [1][1] = "4.5";
		aAlumnos [1][2] = "7.0";
		aAlumnos [1][3] = "6.5";
		aAlumnos [1][4] = "2.0";
		aAlumnos [1][5] = "8.5";
		aAlumnos [1][6] = "7.0";
		aAlumnos [1][7] = "0.5";
		
		for (int i=0 ; i < aAlumnos.length ; i++)
		{
			System.out.println("El alumno " + aAlumnos[0][i] + " tiene una nota de " + aAlumnos[1][i] + ".");
		}
	}

}